Instead of an arbitrary threshold, use one hundredth of the channel
authorMartin Nordholts <martinn@src.gnome.org>
Wed, 14 Jan 2009 19:39:56 +0000 (19:39 +0000)
committerMartin Nordholts <martinn@src.gnome.org>
Wed, 14 Jan 2009 19:39:56 +0000 (19:39 +0000)
commit31ef5116d4d1a97d41278000026968e928252a0f
treee63137775b5b9c3abb71357f2f15ccd21df4dd34
parent3c0527712be0158c9a271c788c4e1c9c8aea95b2
Instead of an arbitrary threshold, use one hundredth of the channel

* babl/babl.h (BABL_ALPHA_THRESHOLD): Instead of an arbitrary
threshold, use one hundredth of the channel intensity resolution
when using 16 bit integers i.e. 0.01 / (2^16 - 1).

svn path=/trunk/; revision=360
ChangeLog
babl/babl.h